﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PowerShell_Commander
{
    public partial class NewWindow : Form
    {
        public string script;
        public NewWindow()
        {
            InitializeComponent();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            if (MessageBox.Show("Are you shure?","?",MessageBoxButtons.OKCancel) == DialogResult.OK)
                this.Close();
        }

        private void NewWindow_Load(object sender, EventArgs e)
        {
            rtxbCode.Text = script;
        }
    }
}
